<%= render 'menu/caidau'%>
<p style="color: red"><%= label_tag params[:alert] %></p>
<p style="color: green"><%= label_tag params[:alert1] %></p>
<div class="canhgiua">
	<fieldset align="left">
			<legend><h2>Profile</h2></legend>
			<table style="background-color: white">
				<tr>
					<td width="200px">
						<table>
							<tr>
								<td>Name:</td>	
								<td><%= @showuser.Name %></td>	
							</tr>
							<tr>
								<td>Address:</td>	
								<td><%= @showuser.Address %></td>	
							</tr>
							<tr>
								<td>Phone:</td>	
								<td><%= @showuser.Phone %></td>	
							</tr>
							<tr>
								<td>Email:</td>	
								<td><%= @showuser.Email %></td>	
							</tr>
							<tr>
								<td>Penalty:</td>	
								<td><%= @showuser.Penalty %> </td>	
							</tr>
						</table>
						
					</td>
					<td valign="top">
						<%= link_to 'Log out',{:action=>"logout"} %>
						<br />
						<%= link_to 'Change Password', {:action => 'changepass'} %> 
						<br/>
						 <%= link_to 'Edit my profile', {:action => 'editprofile'} %>
					</td>
				</tr>
				</table>
</fieldset>
</div>
